package com.gionee.navil.lockscreen;

import android.util.Log;

/*
 * gionee gaojt add for CR00779570 2013-03-07
 * lockscreen log control tools
 */
public class GnLog {
	private final static String TAG = "lock_screen_tag";
	private final static boolean LOCK_SCREEN_DBG = true;

	public static void d(String tag, String msg) {
		if (LOCK_SCREEN_DBG) {
			Log.d(tag, msg);
		}
	}

	public static void d(String tag, String msg, Exception e) {
		if (LOCK_SCREEN_DBG) {
			Log.d(tag, msg, e);
		}
	}

	public static void lockScreenLog(String msg) {
		d(TAG, msg);
	}

	public static void lockScreenLog(String msg, Exception e) {
		d(TAG, msg, e);
	}

	public static void lockScreenLog(String tag, String msg) {
		d(TAG + "_" + tag, msg);
	}

	public static void lockScreenLog(String tag, String msg, Exception e) {
		d(TAG + "_" + tag, msg, e);
	}
}
